package a.f;

import a.c.d;
import a.c.e;
import a.c.m;
import a.c.z;
import a.d.s;
import a.d.w;

public class ac
  implements yc
{
  private o a;
  private e b;
  private boolean c;
  public static boolean d;
  
  public ac(o paramo, e parame)
  {
    this.a = paramo;
    this.b = parame;
  }
  
  public Object a()
  {
    return null;
  }
  
  public a.d.o a(s params, zc paramzc, Object paramObject)
  {
    boolean bool = o.eg;
    int i = o.dg;
    double d1 = paramzc.a() + (paramzc.c() - params.b()) / 2.0D;
    double d2 = paramzc.b() + (paramzc.d() - params.c()) / 2.0D;
    e locale1 = this.b;
    if ((!this.c) && ((bool) || (locale1 != null)) && (locale1.c() > 0))
    {
      this.c = true;
      try
      {
        double d3 = 0.0D;
        double d4 = 0.0D;
        m localm = locale1.l();
        do
        {
          if (!localm.e()) {
            break;
          }
          d locald = localm.a();
          e locale2 = locald.a(locale1);
          d3 += this.a.m(locale1) - this.a.m(locale2);
          d4 += this.a.n(locale1) - this.a.n(locale2);
          localm.f();
          if (bool) {
            break label241;
          }
          if (i != 0) {
            break label232;
          }
        } while (i == 0);
        d3 /= locale1.c();
        if (!bool) {
          d4 /= locale1.c();
        }
        label232:
        if (!bool) {
          if (d3 == 0.0D) {
            label241:
            if ((!bool) && (d4 == 0.0D)) {
              break label384;
            }
          }
        }
        double d5 = Math.sqrt(d3 * d3 + d4 * d4);
        double d6 = Math.sqrt(this.a.t(locale1) * this.a.t(locale1) + this.a.s(locale1) * this.a.s(locale1));
        d3 = d3 * (d6 + 10.0D) / d5;
        d4 = d4 * (d6 + 10.0D) / d5;
        a.d.o localo = new a.d.o(new w(d1 + d3, d2 + d4 + params.c()), params);
        return localo;
      }
      finally
      {
        label384:
        this.c = false;
      }
    }
    return new a.d.o(new w(d1, d2 + params.c()), params);
  }
  
  public Object a(a.d.o paramo, zc paramzc)
  {
    return null;
  }
  
  public z a(xc paramxc, zc paramzc)
  {
    z localz = new z();
    a.d.o localo = a(paramxc.d().f(), paramzc, null);
    localz.add(new hc(localo, null, paramxc, false));
    return localz;
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.f.ac
 * JD-Core Version:    0.7.0.1
 */